<template>
  <view>
  <!--  <unicloud-db v-slot:default="{data, loading, error, options}" collection="abc" :spaceInfo="spaceInfo">
      <view>
        {{ data}}
      </view>
    </unicloud-db> -->

  </view>
</template>

<script>
  // const db = uniCloud.database({
  //   provider: 'aliyun',
  //   spaceId: 'mp-90b2baf3-50bd-4ad4-b91b-81ce4032a0e9',
  //   clientSecret: 'ra/5xtpo7KZI07MzDBmrDw=='
  // }); //代码块为cdb
  // const list = db.collection('list')
  export default {
    name: 'index',
    data() {
      return {
        spaceInfo: {
          provider: 'aliyun',
          spaceId: 'mp-90b2baf3-50bd-4ad4-b91b-81ce4032a0e9',
          clientSecret: 'ra/5xtpo7KZI07MzDBmrDw=='
        }
      }
    }
  }
</script>
